/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.doctor.netHosptial.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.base.user.entity.MasterBaseinfo;
import org.hibernate.validator.constraints.Length;

/**
 * 义诊服务/互联网医院医患关联表Entity
 *
 * @author xueyx
 * @version 2017-05-20
 */
public class NetClinic extends DataEntity<NetClinic> {

    private static final long serialVersionUID = 1L;
    private String doctorid;        // 医生
    private String baseinfo;        // 患者
    private String patientId;
    private MasterBaseinfo patient;
    private String pName;
    public NetClinic() {
        super();
    }

    private String customerName;
    private String patSendFlag;
    private String apFlag;
    private String freetype;


    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public NetClinic(String id) {
        super(id);
    }

    @Length(min = 1, max = 64, message = "医生长度必须介于 1 和 64 之间")
    public String getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(String doctorid) {
        this.doctorid = doctorid;
    }

    @Length(min = 1, max = 64, message = "患者长度必须介于 1 和 64 之间")
    public String getBaseinfo() {
        return baseinfo;
    }

    public void setBaseinfo(String baseinfo) {
        this.baseinfo = baseinfo;
    }

    public MasterBaseinfo getPatient() {
        return patient;
    }

    public void setPatient(MasterBaseinfo patient) {
        this.patient = patient;
    }

    public String getPatSendFlag() {
        return patSendFlag;
    }

    public void setPatSendFlag(String patSendFlag) {
        this.patSendFlag = patSendFlag;
    }

    public String getFreetype() {
        return freetype;
    }

    public void setFreetype(String freetype) {
        this.freetype = freetype;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getApFlag() {
        return apFlag;
    }

    public void setApFlag(String apFlag) {
        this.apFlag = apFlag;
    }
}